cc=g++

.PHONY:all
all:calclient calserver

calclient:calClient.cc
	$(cc) -o $@ $^ -std=c++11 -lpthread -ljsoncpp
calserver:calServer.cc
	$(cc) -o $@ $^ -std=c++11 -lpthread -ljsoncpp

.PHONY:clean
clean:
	rm -f calclient calserver

